package com.my.internetplus.service;

import com.my.internetplus.dao.GoodDao;
import com.my.internetplus.model.Good;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodService {

    @Resource
    private GoodDao goodDao;

    public List<Good> selectGoodsList(int goodtype){

        return goodDao.selectGoodsList(goodtype);
    }

}
